#ifndef wm_events_h
#define wm_events_h
/*
 * Sylvain BERTRAND <digital.ragnarok@gmail.com>
 * code protected by GNU GPL v3
 */
#define WM_EVENT_USER_TIME_DELAY (1000)
Time event_last_user_time;
void event_startup(void);
void event_shutdown(void);
void event_enter_client(struct wm_client *client);
gulong event_start_ignore_all_enters(void);
void event_end_ignore_all_enters(gulong start);
void event_halt_focus_delay(void);
gboolean event_time_after(guint32 t1, guint32 t2);
Time event_time(void);
void event_reset_time(void);
Time event_source_time(void);
void event_update_user_time(void);
void event_reset_user_time(void);
#endif
